<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="com.DBtools" %>
    <%@ page import="java.sql.*" %>
<!DOCTYPE html>
<html>
<head>
<%@ include file="../bootstrap.jsp"%>
<!-- 导航栏、左侧栏、内容的样式 -->
<style>
.navbar {
	background-color:SkyBlue;
	margin-bottom:10px;
	padding-top: 20px;
	padding-bottom: 5px;
	position: fixed;
	left: 0;
	right: 0;
	height: 70px;
}

.sidebar {
	padding: 10px;
	position: fixed;
	top: 70px;
	bottom: 0;
	text-align:center;
}
.profile{
  width: 100px;
  height: 100px;
  display: flex;
  border:3px solid Gainsboro;
  border-radius: 50%;
  align-items: center;	
  justify-content: center;
  overflow: hidden;
}
.content {
	position: fixed;
	top: 70px;
	right: 0;
	bottom: 0;
	overflow: scroll;
}
a{
	font-weight:bolder;
}
img{
max-height:100%;	
}
</style>
<title>管理员界面</title>
</head>
<body>
<%String UserName=(String)request.getSession().getAttribute("UserName");
System.out.println("用户："+(String)request.getSession().getAttribute("UserName")+
				(String)request.getSession().getAttribute("UserNum")); %>
	<div class="navbar navbar-inverse">
		<h1 style="color:White;font-weight:bolder;">疫情防控管理系统</h1>
		<a href="../Loginout.jsp" style="color:White;font-weight:bolder;"
		onClick="return confirm('请确认是否退出登录!')">退出</a>		
	</div>
	<div class="container-fluid main">
		<div class="row">
			<div class="col-md-2 col-sm-0 sidebar">
				<ul class="list-group list-group-flush">
					<a class="list-group-item list-group-item-action"
						href="DepEdit.jsp" target="main_right">学院管理</a>
					<a class="list-group-item list-group-item-action"
						href="DepCheckList.jsp" target="main_right">打卡情况</a>
					<a class="list-group-item list-group-item-action"
						href="SearchRecord.jsp" target="main_right">历史记录</a>
				</ul>
			</div>
			<div class="col-md-10 col-sm-2 content pull-right" >
				<iframe frameBorder="0" name="main_right" src="../main.jsp" 
                  style="width:100%;height:100%;">
				</iframe>
			</div>	
		</div>
	</div>
</body>
</html>